package com.wings4.school.student

import com.wings4.school.academicconfiguration.AcademicYear
import com.wings4.school.academicconfiguration.AcademicClasses
import com.wings4.school.academicconfiguration.AcademicSection
import com.wings4.school.academicconfiguration.AcademicSession
import com.wings4.school.exam.ExamTermResult
import com.wings4.school.exam.ExamTypeResult

class Student {
    StudentBasicInformation studentBasicInformation;
    AcademicYear academicYear;
    AcademicClasses academicClasses;
    AcademicSection academicSection;
    AcademicSession academicSession;

    static hasMany = [examTermResult:ExamTermResult,examTypeResult:ExamTypeResult]
    static constraints = {
        id composite: ['studentBasicInformation', 'academicYear','academicClasses'] ;
    }
}
